package com.lixin.mail.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient // 注册服务
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) // 依赖了common，默认导入了jdbc的配置，但是没有配置数据库，所以将他排除
public class MailGatewayApplication {

	public static void main(String[] args) {
		SpringApplication.run(MailGatewayApplication.class, args);
	}

}
